package com.learn.micro_mall.service.api.goods;
import com.learn.micro_mall.common.response.PlainResult;
import com.learn.micro_mall.service.request.goods.GoodsSkuParamCreateRequest;
import com.learn.micro_mall.service.request.goods.GoodsSkuParamDeleteRequest;
import com.learn.micro_mall.service.request.goods.GoodsSkuParamUpdateRequest;
import com.learn.micro_mall.service.response.goods.GoodsSkuParamCreateResponse;
import com.learn.micro_mall.service.response.goods.GoodsSkuParamDeleteResponse;
import com.learn.micro_mall.service.response.goods.GoodsSkuParamUpdateResponse;

public interface GoodsSkuParamService {

    /**
     * 创建商品规格参数
     * @param request
     * @return
     */
    PlainResult<GoodsSkuParamCreateResponse> createGoodsSkuParam(GoodsSkuParamCreateRequest request) throws Exception;


    /**
     * 更新商品规格参数
     * @param request
     * @return
     */
    PlainResult<GoodsSkuParamUpdateResponse> updateGoodsSkuParam(GoodsSkuParamUpdateRequest request) throws Exception;

    /**
     * 更新商品规格参数
     * @param request
     * @return
     */
    PlainResult<GoodsSkuParamDeleteResponse> deleteGoodsSkuParam(GoodsSkuParamDeleteRequest request) throws Exception;

}
